Forward a webpage in JavaScript